{extend name="web/public/base" /}
{block name="main"}
<section class="scrollable padder">
    <ul class="breadcrumb no-border no-radius b-b b-light pull-in">
        <li><i class="fa fa-home"></i> 首页</a></li>
        <li class="active">{$title}</li>
    </ul>
    <!--{include file="web/public/search" /}-->

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">累计奖金统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>总收入</th>
                            <th>总支出</th>
                            <th>总成本</th>
                            <th>总沉淀</th>
                            <th>总{$Think.const.BONUS1}</th>
                            <th>总{$Think.const.BONUS2}</th>
                            <th>总{$Think.const.BONUS3}</th>
                            <th>总{$Think.const.BONUS4}</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$list.income}</td>
                            <td>{$list.expend}</td>
                            <td>{$cost_total}</td>
                            <td>{$list.income-$list.expend-$cost_total}</td>
                            <td>{$list.bonus1}</td>
                            <td>{$list.bonus2}</td>
                            <td>{$list.bonus3}</td>
                            <td>{$list.bonus4}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">税及其它</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>自动扣税</th>
                            <th>提现手续费</th>
                            <th>后台充值累计</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$tax_money}</td>
                            <td>{$wd_fee}</td>
                            <td>{$rechate_total}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">现有用户统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>总人数</th>
                            <th>游客</th>
                            <th>会员</th>
                            <th>VIP</th>
                            <th>代理商</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$total_num}</td>
                            <td>{$total_num0}</td>
                            <td>{$total_num1}</td>
                            <td>{$total_num2}</td>
                            <td>{$total_num3}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">现有资产统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>可用余额</th>
                            <!--<th>可用报单积分</th>-->
                            <!--<th>可用复购积分</th>-->
                            <!--<th>可用绿色积分</th>-->
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>{$total3}</td>
                            <!--<td>{$total1}</td>-->
                            <!--<td>{$total2}</td>-->
                            <!--<td>{$total4}</td>-->
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <section class="panel panel-default">
                <header class="panel-heading font-bold">售卖商品统计</header>
                <div class="table-responsive">
                    <table class="table table-striped b-t b-light text-sm">
                        <thead>
                        <tr>
                            <th>商品名称</th>
                            <th>所属分类</th>
                            <th>商品数量</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name='goodslist' id='vo'}
                        <tr>
                            <td>{$vo.goodname}</td>
                            <td>{$vo.cate_name}</td>
                            <td>{$vo.nums}</td>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</section>
{/block}
